package com.netintech.intelligenceInterface.iflytek.model.SpeechPreprocessing;

public class Audios {
    /**  语音的ID */
    private String aid;
    /**  语音Byte数据与下面的uri可二选一，优先级高于uri */
    private byte[] dataBytes;
    /**  语音链接地址 */
    private String uri;
    /**  语音信道，1即单通道，2即双通道 */
    private Integer chnl;
    /** 场景分离，0即不分离，1即普通分离，2是xvector分离  */
    private Integer spkn;
    /** 语音的编码格式：见附录2, 语音类服务一般支持解码的语音格式说明
     Unknown(0x0000),Pcm(0x0001), ALaw(0x0006)等
     */
    private Integer encoding;
    /** 语音处理的偏移量 （单位：毫秒，默认0）  */
    private Integer offset;
    /**  采样精度 */
    private Integer bits;
    /** 采样频率  */
    private Integer rate;

    public String getAid() {
        return aid;
    }

    public void setAid(String aid) {
        this.aid = aid;
    }

    public byte[] getDataBytes() {
        return dataBytes;
    }

    public void setDataBytes(byte[] dataBytes) {
        this.dataBytes = dataBytes;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public Integer getChnl() {
        return chnl;
    }

    public void setChnl(Integer chnl) {
        this.chnl = chnl;
    }

    public Integer getSpkn() {
        return spkn;
    }

    public void setSpkn(Integer spkn) {
        this.spkn = spkn;
    }

    public Integer getEncoding() {
        return encoding;
    }

    public void setEncoding(Integer encoding) {
        this.encoding = encoding;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getBits() {
        return bits;
    }

    public void setBits(Integer bits) {
        this.bits = bits;
    }

    public Integer getRate() {
        return rate;
    }

    public void setRate(Integer rate) {
        this.rate = rate;
    }
}
